#include "plugin_interface.h"

class MultiplyPlugin : public PluginInterface
{
public:
    const char* get_name() const override {
        return "Multiply_Plugin";
    }
    int operate(int a, int b) const override  {
        return a * b;
    }

};


// 必须实现的函数 - 返回插件信息
extern "C" PluginInterface*  create_plugin() {
    return new MultiplyPlugin();
}